package com.yangqi.io;

import java.io.Serializable;

/**
 * User
 * + id:int
 * + name:String
 * + age:int
 * + place:String
 * + ifDel:Boolean
 * - toString():String
 */
public class User implements Serializable {


    private int id;
    private String name;
    private int age;
    private String place;
    private Boolean ifDel;

    public User() {
    }

    public User(int id, String name, int age, String place, Boolean ifDel) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.place = place;
        this.ifDel = ifDel;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", place='" + place + '\'' +
                ", ifDel=" + ifDel +
                '}';
    }
}
